package com.atguigu.spring5.dao;

import com.atguigu.spring5.bean.Book;

import java.util.List;

/**
 * @date: 2021/12/9 11:14
 * @description:
 */
public interface BookDao {
    void add(Book book);

    void update(Book book);

    void delete(int id);

    int seleteCount();

    Book selectBook(int id);

    List<Book> selectAllBook();

    void batchAll(List<Object[]> batchArgs);

    void batchUpdate(List<Object[]> batchArgs);

    void batchDelete(List<Object[]> batchArgs);
}
